import React, { Component } from 'react';
import './App.css';
import Aside from '../Aside/Aside'
import getRouter from '../../router/router'
class App extends Component {
  render() {
    return (
      <div className="App flex-col">
        <header className="App-header">
          <h1 className="App-title">Welcome to React</h1>
        </header>
        <div className="App-main flex">
          <div className="Aside">
            <Aside></Aside>
          </div>
          <div className="App-right">
            {getRouter()}
          </div>
        </div>
      </div>
    );
  }
}

export default App;
